package com.cdu.practicaltraining.sys.mapper;

import com.cdu.practicaltraining.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    int add(Employee employee) throws Exception;
    Employee findByUsername(String username) throws Exception;
    List<Employee> employees() throws Exception;
    Employee login(String username, String password) throws Exception;
}